package com.weijin.service;

import com.weijin.model.ChatHistory;
import com.weijin.vo.PageVo;

/**
 * @Author WeiJin
 * @Version 1.0
 * @Date 2025/3/20 15:09
 */
public interface IChatHistoryService {

    /**
     * 添加聊天记录
     * @param chatHistory 聊天记录
     * @return 新增的内容
     */
    ChatHistory addChatHistory(ChatHistory chatHistory);

    PageVo<ChatHistory> pageChatHistory(Integer pageNumber,Integer pageSize);
}
